<template>
	<view class="city">
		<first-nav></first-nav>
		<city-content :tCity='tCity'></city-content>
		<tab></tab>
	</view>
</template>

<script>
	import tab from "../../componment/tab.vue"
	import firstNav from "../../componment/first-nav.vue"
	import cityContent from "../../componment/cityContent.vue"
	export default {
		components:{
			tab,
			firstNav,
			cityContent
		},
		data() {
			return {
				tCity:"北京"
			}
		},
		onShow() {
			uni.getStorage({
				key:'city',
				success:(res)=>{
					this.tCity=res.data
				}
			})
		},
		methods: {
			
		}
	}
</script>

<style>
.city{
	height: 100%;
	width: 100%;
	background: #000000;
}
</style>
